/**
 * @author Ventura
 */
dojo.require("dijit.ColorPalette");
//<div dojoType="dijit.ColorPalette"></div>
var colorPalette = new dijit.ColorPalette({
	palette:"3*4",
	onChange:function(selectedColor){}
})

dojo.require("dijit.Dialog");
//<div dojoType="dijit.Dialog" id="dialog1" href="blank.html"></div>
var dialog = new dijit.Dialog();
dialog.setContent("this a dialog");
dialog.show();

dojo.require("dijit.Editor");
//<textarea name="field" width="200px" height="100px" dojoType="dijit.Editor">Bla bla bla</textarea>
var content = document.createElement("textarea");
content.cols = 42;
var editor = new dijit.Editor({id:"desc"},content);

dojo.require("dijit.InlineEditor");
var inlineEditor = new dijit.InlineEditor({
	id:"editor",
	autoSave:false,
	buttonSave:'Save',
	buttonCancel:'cancel',
	width:"80%"
},parentNode);

dojo.require("dijit.Menu");
//<div dojoType="dijit.Menu" contextMenuForWindow="true" style="display:none">
//<span dojoType="dijit.MenuItem">1</span>
//<span dojoType="dijit.MenuSeparator"></span>
//</div>

dojo.require("dijit.ProgressBar");
//<div dojoType="dijit.ProgressBar" id="pb1" places="0" progress="0" maximum="100"><div>
var progressBar = new dijit.ProgressBar({
	id:"pb2",
	places:0,
	progress:"50%",
	maximum:100
})

dojo.require("dijit.TitlePane");
//<div dojo="dijit.TitlePane" title="#1">Content</div>
var titlePane = new dijit.TitlePane({
	href:"blank.html",
	title:"#1"
});
titlePane.startup();
titlePane.setContent("Bla blabla");

dojo.require("dijit.Toolbar");
//<div dojoType="dijit.Toolbar">
//<div dojoType="dijit.form.Button" iconClass="dijitEditorIconCut" showLabel="true">Cut</div>
//<span dojoType="dijit.ToolbarSeparator"></span>
//</div>
var toolbar = new dijit.Toolbar({});
toolbar.addChild(new dijit.form.Button({
	iconClass:"dijitEdtorIconCut",
	showLabel:true 
}));
toolbar.addChild(new dijit.ToolbarSeparator({}));
toolbar.startup();

dojo.require("dijit.Tooltip");
//<div dojoType="dijit.Tooltip" connectId="targetId" label="Bla bla"></div>
dijit.showTooltip("that's it",dojo.byId("targetId"));
dijit.hideTooltip(dojo.byId("targetId"));

dojo.require("dijit.Tree")
//<div dojoType="dojo.data.itmeFileReadStore" url="xxx.txt" jsid="bandStore"/>
//<div dojoType="dijit.Tree" store="bandStore" labelAttr="name" label="Ultimate Bands"></div>











